package com.web.exiaodao.business.service;

import java.util.Map;

import org.springframework.data.domain.Page;

import com.web.exiaodao.business.entity.MakeMoneyTable;
import com.web.exiaodao.remote.vo.MakeMoneyTableVo;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;

public interface MakeMoneyTableService extends BaseServiceInterFace<MakeMoneyTable>{
    /**
     * 计算亲币总额
     * @param userId
     * @return
     * @throws BusinessException
     */
    public XaResult<Integer> calculateMoney(long userId) throws BusinessException;
    /**
     * 分页查询MakeMoneyTable
     * @Title: findMakeMoneyTableList 
     * @param nextPage
     * @param pageSize
     * @param filterParams
     * @return
     * @throws BusinessException
     */
    public XaResult<Page<MakeMoneyTableVo>> findMakeMoneyTableList(
    		Integer nextPage,Integer pageSize, Map<String, Object> filterParams) throws BusinessException;
}
